<template>
  <div id="boat-list">

    <div class="content-list">
      <ol class="results">
        <li class="b" >
          <div class="boat">
            <row>
              <i-col span="6" >
                <div class="image" >
                  <img src="../../assets/stone1.jpg" style="width:100%; height:100%">
                  <ul class="flag">
                  <span class="promo">
                    <span class="fa fa-tag"></span>
                  </span>
                  </ul>
                </div>
              </i-col>
              <i-col span="12">
                <div class="info">
                  <router-link to="boat_detail" >
                    <b>王者农药露天COS play</b>
                    <span>中国/北京/天坛公园 </span>
                  </router-link>
                  <div class="specs">
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Capacity">
                      <span class="cap">Capacity</span> 50人
                    </div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Cabins">
                      <span class="cab">Cabins</span> 30 客房
                    </div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Berths">
                      <span class="ber">Berths</span>15床位</div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Engine">
                      <span class="mot">Engine</span> 2x30hp</div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Draught">
                      <span class="dra">Draught</span>xxx</div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Size">
                      <span class="len">Size</span>xxx</div>
                  </div>
                  <div class="pluses">
                    <div class="item">
                      <Rate show-text allow-half v-model="starRate">
                        <span style="color: #2d8cf0; font-size: 12px">13 reviews</span>
                      </Rate>
                    </div>
                    <div class="item inc">
                      <span class="fa fa-check"></span>
                      <span class="font-size=12px">
                        主题活动，酒吧聚餐，神秘嘉宾
                      </span>
                    </div>
                  </div>
                  <div class="pluses">
                    <div class="item inc">
                      已参加：
                    </div>
                    <Avatar src="http://7xv4kr.com1.z0.glb.clouddn.com/xiaoming.png" />
                    <Avatar src="http://7xv4kr.com1.z0.glb.clouddn.com/23213DC5-99F7-4A75-A5E5-4F5EAA8D6D94-1576-0000032CA30B2DFA.png"/>
                    <Avatar src="http://7xv4kr.com1.z0.glb.clouddn.com/CEEDD5A5-2BDB-4637-A21A-619AA3AA3CA8-1498-00000210C1ABBAE4.png"/>
                    <Avatar src="http://7xv4kr.com1.z0.glb.clouddn.com/1EA7AB98-9333-43BB-B624-FF43E9269D78-509-00000088B6BB1A46.png"/>
                    <Avatar src="http://7xv4kr.com1.z0.glb.clouddn.com/B86BBF92-744E-40E1-BCCA-93D805B664A5-387-000000A2784E7A21.png"/>
                  </div>
                </div>
              </i-col>
              <i-col span="6">
                <div class="price text-center">
                  <i class="favorite fa fa-weibo" aria-hidden="true"></i>
                  <i class="favorite2 fa fa-weixin" aria-hidden="true"></i>
                  <i class="favorite3 fa fa-qq" aria-hidden="true"></i>

                  <span class="op">预计费用</span><b class="p">888</b>
                  <span class="period">自 2017/10/10 到 2017/10/11</span>
                  <a class="view-detail" >查看详情&nbsp;</a>
                </div>
              </i-col>
            </row>
          </div>
        </li>
      </ol>

      <ol class="results">
        <li class="b" >
          <div class="boat">
            <row>
              <i-col span="6" >
                <div class="image" >
                  <img src="../../assets/sr0003.jpg" style="width:100%; height:100%">
                  <ul class="flag">
                  <span class="promo">
                    <span class="fa fa-tag"></span>
                  </span>
                  </ul>
                </div>
              </i-col>
              <i-col span="12">
                <div class="info">
                  <router-link to="boat_detail" >
                    <b>非主流海天盛筵</b>
                    <span>中国/三亚/南海 </span>
                  </router-link>
                  <div class="specs">
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Capacity">
                      <span class="cap">Capacity</span> 50人
                    </div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Cabins">
                      <span class="cab">Cabins</span> 30 客房
                    </div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Berths">
                      <span class="ber">Berths</span>15床位</div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Engine">
                      <span class="mot">Engine</span> 2x30hp</div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Draught">
                      <span class="dra">Draught</span>xxx</div>
                    <div class="m" data-toggle="tooltip" data-placement="top" data-delay="500" title="" data-original-title="Size">
                      <span class="len">Size</span>xxx</div>
                  </div>
                  <div class="pluses">
                    <div class="item">
                      <Rate show-text allow-half v-model="starRate">
                        <span style="color: #2d8cf0; font-size: 12px">13 reviews</span>
                      </Rate>
                    </div>
                    <div class="item inc">
                      <span class="fa fa-check"></span>
                      <span class="font-size=12px">
                        想冲破约束吗？---到你
                      </span>
                    </div>
                  </div>
                  <div class="pluses">
                    <div class="item inc">
                      已参加：
                    </div>
                    <Avatar src="https://i.loli.net/2017/08/21/599a521472424.jpg" />
                    <Avatar src="http://7xv4kr.com1.z0.glb.clouddn.com/A70C7697-8530-4AD7-AC3C-EB118061A50A-4495-00000524E411433A.png"/>
                    <Avatar src="http://7xv4kr.com1.z0.glb.clouddn.com/8502B06D-5F4B-4F8E-9AD5-319245DB9A4B-483-0000010A0B80087C.png"/>
                  </div>
                </div>
              </i-col>
              <i-col span="6">
                <div class="price text-center">
                  <i class="favorite fa fa-weibo" aria-hidden="true"></i>
                  <i class="favorite2 fa fa-weixin" aria-hidden="true"></i>
                  <i class="favorite3 fa fa-qq" aria-hidden="true"></i>
                  <span class="op">预计费用</span><b class="p">888</b>
                  <span class="period">自 2017/10/10 到 2017/10/11</span>

                  <a class="view-detail" >查看详情&nbsp;</a>

                </div>
              </i-col>
            </row>
          </div>
        </li>
      </ol>

    </div>
  </div>
</template>

<script>
  import ICol from '../../../node_modules/iview/src/components/grid/col'
  export default {
    components: {ICol},
    name: 'stone-list',
    data () {
      return {
        starRate: 3.5
      }
    },
    computed: {
    },
    methods: {}
  }
</script>

<!-- Add "scoped" attribute to limit CSS to this component only -->
<style scoped>
  .book-trip {
    margin: 0 auto;
    padding: 1.125rem 0 2rem;
    width: 90%;
  }
  .travel-booking-panel {
    margin: 10px 10px 10px 10px;
  }
  .search-field-group {
    margin: 0 5px 0 5px;
  }
  .search-field-group label {
    display: inline-block;
    margin-bottom: -2px;
    font-size: 12px;
    line-height: 12px;
    max-width: 100%;
    color: #bbbec4;
  }

  .book-trip .button-submit {
    float: right;
    text-align: left;
    width: 35%;
    height: 50px;
    margin: 0 0 0 3px;
    max-height: 32px;
    padding: 0 1em;
    position: relative;
    background: #ff5a5f;
    border: 1px solid transparent;
    border-radius: 2px;
    box-shadow: 0 1px 0 0 #c6c2c1;
    color: #fff;
    overflow: visible;
  }

  .banner-inner img {
    min-height: 251px;
    min-width: 1400px;
    width: 100%;
    vertical-align: middle;
    border: 0 none;
  }

  .content-list {
    width: 100%;
    float: right;
    min-height: 1px;
    padding-left: 5px;
    padding-right: 5px;
    position: relative;
  }

  .sort-bar {
    background: #ebedec none repeat scroll 0 0;
    margin-top: 10px;
    padding: 5px 0;
    heidht: 40px;
  }

  .col-half-left {
    width: 50%;
    float: left;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    background: #ebedec;
    height: 40px;
  }

  .col-half-right {
    width: 50%;
    float: right;
    min-height: 1px;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
    background: #ebedec;
    height: 40px;
  }

  .form-inline .form-group {
    display: inline-block;
    margin-bottom: 0;
    vertical-align: middle;
  }

  .sort-bar label {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 5px;
    max-width: 100%;
  }

  .form-inline .search-sort-select {
    display: inline-block;
    font-weight: bold;
    margin-bottom: 5px;
    max-width: 100%;
  }

  .text-right {
    text-align: right;
    padding-left: 15px;
    padding-right: 15px;
    position: relative;
  }

  .page-count {
    display: block;
    padding: 5px 0 0;
  }

  .content-list .results {
    margin-top: 45px;
    overflow:hidden;
    padding: 0;
  }

  .results li::after {
    background: #fff none repeat scroll 0 0;
    border-bottom: 1px solid #c5c5c5;
    clear: both;
    content: "";
    display: block;
    float: none;
    height: 1px;
    margin-bottom: 12px;
    margin-top: 12px;
  }
  .results li {
    list-style: outside none none;
  }

  .results .boat {
    display: table;
    width: 100%;
    height: 150px;
    background: #ebedec none repeat scroll 0 0;;
    background-size: cover;
  }

  .results .boat .image {
    display: block;
    float: none;
    vertical-align: top;
    background-position: 50% 50%;
    background-size: cover;
    cursor: pointer;
    margin: 0;
    min-height: 170px;
    height: 170px;
    padding: 0;
    overflow: hidden;
  }
  .results .boat .image .flag {
    font-size: 14px;
    font-weight: 500;
    list-style: outside none none;
    margin-top: 5px;
    padding: 0;
    position: absolute;
    top:0;
    cursor: pointer;
  }

  .results .boat .image .flag .promo {
    background: #ff3350 none repeat scroll 0 0;
    color: #fff;
    margin-bottom: 2px;
    padding: 2px 4px;
    font-size: 14px;
    font-weight: 500;
  }

  .results .boat .info {
    background: #fff none repeat scroll 0 0;
    overflow:auto;
    height:170px;
    padding-left:10px;
  }

  .results .boat .info .model b {
    display: block;
    font-size: 16px;
  }

  .results .boat .info .model span {
    color: #808080;
    display: block;
    font-size: 14px;
  }

  .results .boat .info .specs::after {
    clear: both;
    content: "";
    display: block;
    height: 0;
  }

  .results .boat .info .specs {
    display: block;
    margin: 0 0 10px;
    padding: 0;
  }

  .results .boat .info {
    float: none;
    vertical-align: top;
  }

  .results .boat .info .specs .m {
    background: #fff none repeat scroll 0 0;
    border: 1px solid #c5c5c5;
    display: block;
    float: left;
    font-size: 10px;
    margin-bottom: 5px;
    margin-right: 5px;
    overflow: hidden;
    padding: 1px 2px 2px;
    text-align: center;
    white-space: nowrap;
    width: 48px;
  }
  .results .boat .info .specs .m span {
    background: rgba(0, 0, 0, 0) url("../../assets/legend2.png") no-repeat scroll 0 0 / 285px 28px;
    border-bottom: 1px solid #c5c5c5;
    display: block;
    height: 32px;
    margin: 2px;
    overflow: hidden;
    text-indent: 50px;
    width: 40px;
  }

  .results .boat .info .specs .m .cab {
    background-position: -123px 0;
  }

  .results .boat .info .specs .m .ber {
    background-position: -41px 0;
  }

  .results .boat .info .specs .m .mot {
    background-position: -82px 0;
  }

  .results .boat .info .specs .m .dra {
    background-position: -163px 0;
  }

  .results .boat .info .specs .m .len {
    background-position: -203px 0;
  }

  .results .boat .info .pluses::after {
    clear: both;
    content: "";
    display: block;
    height: 0;
    overflow: hidden;
    width: 0;
  }

  .results .boat .info .pluses .item:first-child {
    border-left: 0 none;
    padding-left: 0;
  }

  .results .boat .info .pluses .item {
    border-left: 1px solid #eaeaea;
    color: #424242;
    float: left;
    font-size: 10px;
    font-weight: 300;
    height: 24px;
    letter-spacing: -0.5px;
    line-height: 20px;
    margin-bottom: 6px;
    padding: 0 10px;
  }
  .results .boat .info .pluses .item span{
    font-size: 10px;
  }
  .results .boat .price .view-detail {
    font-size: 12px;
    font-weight: 500;
    hyphens: none;
    margin: 6px 0;
    overflow-wrap: normal;
    text-transform: uppercase;
    white-space: normal;
    word-break: normal;
    text-align: center;
    -moz-user-select: none;
    border-radius: 0;
    cursor: pointer;
    display: inline-block;
    font-size: 14px;
    line-height: 1.42857;
    padding: 6px 12px;
    touch-action: manipulation;
    vertical-align: middle;
    padding: 6px 12px;
    background: #24BFB4;
    border-color: #24BFB4;
    color: #fff;
  }


  .text-center {
    text-align: center;
  }

  .results .boat .price .op {
    color: #808080;
    display: block;
    font-size: 12px;
    font-weight: normal;
    padding: 0;
  }

  .results .boat .price .p {
    color: #ff3350;
    display: block;
    font-size: 22px;
  }

  .results .boat .price {
    background: #eaeaea none repeat scroll 0 0;
    min-height: 170px;
    padding: 25px 0;
  }

  .results .boat .price {
    float: none;
    vertical-align: top;
  }

  .results .boat .price .favorite {
    color: #808080;
    cursor: pointer;
    float: right;
    font-size: 18px;
    margin: -20px 5px 0 0;
    opacity: 0.5;
  }

  .results .boat .price .favorite2 {
    color: #808080;
    cursor: pointer;
    float: right;
    font-size: 18px;
    margin: -20px 30px 0 0;
    opacity: 0.5;
  }

  .results .boat .price .favorite3 {
    color: #808080;
    cursor: pointer;
    float: right;
    font-size: 18px;
    margin: -20px 60px 0 0;
    opacity: 0.5;
  }

  .results .boat .price .period {
    color: #808080;
    display: block;
    text-align: center;
  }

  .bottom_pagination {
    background: #ebedec none repeat scroll 0 0;
    margin-bottom: 20px;
    padding: 10px;
    height: 50px;
  }

  .pager {
    list-style: outside none none;
    padding-left: 0;
    text-align: center;
  }

  .pager li {
    display: inline;
    list-style: outside none none;
  }

  .pager .previous > a, .pager .previous > span {
    list-style: outside none none;
    float: left;
  }

  .pager li > a, .pager li > span {
    background-color: #fff;
    border: 1px solid #ddd;
    display: inline-block;
    padding: 5px 14px;
    font-size: 14px;
  }

  .pager .next > a, .pager .next > span {
    list-style: outside none none;
    float: right;
  }
</style>
